/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.ivanbiz.model;

import java.util.Date;

/**
 *
 * @author User
 */
public class Barang {
    private long id;
    private String kode;
    private String nama;
    private double hargaTerakhir;
    private double harga;
    private Satuan satuan;
    private float stock;
    private Date createDate;
    private Date updateDate;
    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getKode() {
        return kode;
    }

    public void setKode(String kode) {
        this.kode = kode;
    }

    public String getNama() {
        return nama;
    }

    public void setNama(String nama) {
        this.nama = nama;
    }

    public double getHarga() {
        return harga;
    }

    public void setHarga(double harga) {
        this.harga = harga;
    }

    public Satuan getSatuan() {
        return satuan;
    }

    public void setSatuan(Satuan satuan) {
        this.satuan = satuan;
    }

    public float getStock() {
        return stock;
    }

    public void setStock(float stock) {
        this.stock = stock;
    }

    public double getHargaTerakhir() {
        return hargaTerakhir;
    }

    public void setHargaTerakhir(double hargaTerakhir) {
        this.hargaTerakhir = hargaTerakhir;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
    
        this.createDate = createDate;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
 
        this.updateDate = updateDate;
    }

}
